From: sunflowerskater Date: Sat, 17 Dec 2022 21:21:10 +0000 (-0300) Subject: GtkFileChooser: Tweak Grid View & List View button tooltips X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~116^2~1^2~7^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6b71ccdb43f952c96a598a902271b180c900c604;p=gtk4.git GtkFileChooser: Tweak Grid View & List View button tooltips The tooltips from the Grid View & List View buttons are unnecessarily long and look different from the tooltips used in Nautilus. This commit makes the tooltips to be consistent with Nautilus and, consequently, makes them shorter. --- diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 70c4cabb84..ed85b0eb9e 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -1699,13 +1699,13 @@ set_view_type (GtkFileChooserWidget *impl, case VIEW_TYPE_LIST: child = impl->browse_files_column_view; icon_name = "view-grid-symbolic"; - tooltip_text = _("Switch to grid view"); + tooltip_text = _("Grid View"); break; case VIEW_TYPE_GRID: child = impl->browse_files_grid_view; icon_name = "view-list-symbolic"; - tooltip_text = _("Switch to list view"); + tooltip_text = _("List View"); break; default: diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index 7d15ccb052..6faecfe9eb 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -63,7 +63,7 @@ view-grid-symbolic item.toggle-view - Switch to grid view + Grid View